
import 'package:fluro/fluro.dart';
import 'package:flutter/cupertino.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBHelper/YBScannInfo/YBScannInfoPage.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBModule/YBFindModule/YBMainPage/YBPublishQuanCengInfoPage.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBModule/YBFindModule/YBMainPage/YBNewFindMainDetailPage.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBModule/YBFindModule/YBMainPage/YBNewFindWebViewPage.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBModule/YBFindModule/YBMainPage/YBSearchAddressPage.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBModule/YBHomePage/YBMapMiShuPage/YBMapBanLiShiWuPage.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBModule/YBHomePage/YBMapMiShuPage/YBMapMiShuHuJiaoInfoPage.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBModule/YBHomePage/YBMapMiShuPage/YBMapMiShuLianXiRenPage.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBModule/YBHomePage/YBMapMiShuPage/YBMapMiShuMainPage.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBModule/YBHomePage/YBMapMiShuPage/YBMapMiShuNinDeHangYePage.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBModule/YBHomePage/YBMapMiShuPage/YBMapNinDeYuSuanPage.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBModule/YBHomePage/YBMapMiShuPage/YBMiaoShuInfoPage.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBModule/YBHomePage/YBSubPage/yb_homepage_fourdetail_webpage.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBModule/YBLoginModule/YBLoginMainPage/YBLoginBangDingPhonePage.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBModule/YBLoginModule/YBLoginMainPage/YBLoginMainPage.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBModule/YBLoginModule/YBLoginMainPage/YBLoginPassWordPage.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBModule/YBLoginModule/YBLoginMainPage/YBLoginYanZhengMaPage.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBModule/YBMineModule/YBAboutUsPage/YBAboutUsMainPage.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBModule/YBMineModule/YBAboutUsPage/YBFaLvShengMingPage.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBModule/YBMineModule/YBAboutUsPage/YBFuWuZhengCePage.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBModule/YBMineModule/YBAboutUsPage/YBYinSiZhengCePage.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBModule/YBMineModule/YBGongHuiPage/YBGongHuiMainPage.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBModule/YBMineModule/YBMessagePage/YBMessageMainPage.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBModule/YBMineModule/YBMineSubPage/YBMineJiHuoPage.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBModule/YBMineModule/YBMineUserInfoPage/YBMineUserInfoMainPage.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBModule/YBMineModule/YBMineUserInfoPage/YBMineUserInfoZuZhiManangerinfoPage.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBModule/YBMineModule/YBMineUserInfoPage/YBMineUserInputPage.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBModule/YBMineModule/YBMyGongDanPage/YBMyGongDanPage.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBModule/YBMineModule/YBMyGongDanPage/YBShangJiDetailPage.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBModule/YBMineModule/YBMyQuanYiPage/YBMyQuanYiMainPage.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBModule/YBMineModule/YBQiYePersonPage/YBNumberInPutEditingPage.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBModule/YBMineModule/YBQiYePersonPage/YBNumberManagerEditingPage.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBModule/YBMineModule/YBQiYePersonPage/YBNumberManagerPage.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBModule/YBMineModule/YBQiYePersonPage/YBPersonDisPlayPage.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBModule/YBMineModule/YBQiYePersonPage/YBPersonPage.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBModule/YBMineModule/YBQiYePersonPage/YBQiYeAndPersonInputPage.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBModule/YBMineModule/YBQiYePersonPage/YBQiYeAuthPage.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBModule/YBMineModule/YBQiYePersonPage/YBQiYeDisPlayInfoPage.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBModule/YBMineModule/YBQiYePersonPage/YBQiYePersonPage.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBModule/YBMineModule/YBQiYePersonPage/YBQuanCengHomeInputPage.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBModule/YBMineModule/YBQiYePersonPage/YBQuanCengHomePage.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBModule/YBMineModule/YBSetPage/YBAccountAndBandingPage.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBModule/YBMineModule/YBSetPage/YBNewChangePasswordPage.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBModule/YBMineModule/YBSetPage/YBNewPasswordPage.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBModule/YBMineModule/YBSetPage/YBPinBiManagerPage.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBModule/YBMineModule/YBSetPage/YBSetMainPage.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBModule/YBMineModule/YBSetPage/YBSettingNewPhonePage.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBModule/YBMineModule/YBSetPage/YBSettingYanZhengPhonePage.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBModule/YBMineModule/YBZhuZhiManagerPage/YBZhuZhiManangerPage.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBModule/YBWorkTaiModule/YBFenXiangHuKePage/YBFenXiangReMenWenZhangPage.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBModule/YBWorkTaiModule/YBFenXiangHuKePage/YBFenXiangWoDeWenZhangPage.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBModule/YBWorkTaiModule/YBFenXiangHuKePage/YBFenXiangZuZhiWenZhangPage.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBModule/YBWorkTaiModule/YBFenXiangHuKePage/YBFengXiangDetailPage.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBModule/YBWorkTaiModule/YBFenXiangHuKePage/YBWenZhangWeChatPage.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBModule/YBWorkTaiModule/YBFenXiangHuKePage/YBWenZhangYuanChuangPage.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBModule/YBWorkTaiModule/YBFenXiangHuKePage/YBWenZhangZhengShiFengMianWeChatPage.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBModule/YBWorkTaiModule/YBFenXiangHuKePage/YBWenZhangZhengShiWeChatPage.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBModule/YBWorkTaiModule/YBMainPage/YBWorkTaiMainPage.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBModule/YBWorkTaiModule/YBWorkTaiGongGaoPage/YBWorkTaiGongGaoListDeteil.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBModule/YBWorkTaiModule/YBWorkTaiGongGaoPage/YBWorkTaiGongGaoMainPage.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBModule/YBWorkTaiModule/YBZhuanShuYingYongPage/YBMiShuListDetailPage.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBModule/YBWorkTaiModule/YBZhuanShuYingYongPage/YBMiShuListDetailYouXuanShangJiPage.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBModule/YBWorkTaiModule/YBZhuanShuYingYongPage/YBMiShuListPage.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBModule/YBWorkTaiModule/YBZhuanShuYingYongPage/YBMiShuSubPage/YBGeneralMiShuJieShaoPage.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBModule/YBWorkTaiModule/YBZhuanShuYingYongPage/YBMiShuTongPage.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBModule/YBWorkTaiModule/YBZhuanShuYingYongPage/YBMiShuTongPage/YBMiShuTongDetailMainPage.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBModule/YBWorkTaiModule/YBZhuanShuYingYongPage/YBMiShuTongPage/YBMiShuTongShangJiKuPage.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBModule/YBWorkTaiModule/YBZhuanShuYingYongPage/YBMiShuTongPage/YBMiShuTongYiHuoShangJiPage.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBModule/YBWorkTaiModule/YBZhuanShuYingYongPage/YBMiShuYouXuanDetailPage.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBModule/YBWorkTaiModule/YBZhuanShuYingYongPage/YBProtolTodayLvSiWenJianPage.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBModule/YBWorkTaiModule/YBZhuanShuYingYongPage/YBProtolWenJianPage.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBModule/YBWorkTaiModule/YBZhuanShuYingYongPage/YBQuestionFeakBackPage.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBModule/YBWorkTaiModule/YBZhuanShuYingYongPage/YBYiJiLvSiLisiYiHuoDetailPage.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBModule/YBWorkTaiModule/YBZhuanShuYingYongPage/YBYiJiLvSiListYiHuoManagerPage.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBModule/YBWorkTaiModule/YBZhuanShuYingYongPage/YBYiJiTongPage.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBModule/YBWorkTaiModule/YBZhuanShuYingYongPage/YBYiYiDetailPage.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBModule/YBWorkTaiModule/YBZhuanShuYingYongPage/YBlvSiTongPage.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBModule/YBXieGangAdModule/YBMainPage/YBXieGangMainPage.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBModule/yb_wenshu_main/yb_wenshu_type_listpage.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBUtils/YBBaseUtils/YBWebViewUtils.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBUtils/YBTabBarMainModule/YBTabBarMainPage.dart';


var rootHandler = Handler(
  handlerFunc: (BuildContext context, Map<String,List<String>> params){
    return YBTabBarMainPage();
  }
);


//首页推广员
var homePageTuiGuangYuanHandler = Handler(
    handlerFunc:(BuildContext context, Map<String, List<String>> params){
      return YBXieGangMainPage();
    }
);

var homePageLocationInfoPageHandler = Handler(
    handlerFunc:(BuildContext context, Map<String, List<String>> params){
      return YBXieGangMainPage();
    }
);


var homePageDetailWebPageHandler = Handler(
    handlerFunc:(BuildContext context, Map<String, List<String>> params){
      String webStr = params["webstr"].first;
      return YBHomePageFourDetailWebPage(webStr: webStr,);
    }
);




var homePageScannPageHandler = Handler(
    handlerFunc:(BuildContext context, Map<String, List<String>> params){
      return YBScannInfoPage();
    }
);

var homePageShangWuFaLvXingZhengPageHandler = Handler(
    handlerFunc:(BuildContext context, Map<String, List<String>> params){
      return YBMapMiShuMainPage();
    }
);

//秘书-呼叫
var homePageShangWuFaLvXingZhengPageHuJiaoHandler = Handler(
    handlerFunc:(BuildContext context, Map<String, List<String>> params){
      return YBMapMiShuHuJiaoInfoPage();
    }
);

//秘书-办理事务
var homePageShangWuFaLvXingZhengPageBanLiShiWuHandler = Handler(
    handlerFunc:(BuildContext context, Map<String, List<String>> params){
      return YBMapBanLiShiWuPage();
    }
);

var homePageShangWuFaLvXingZhengPageMiaoShuXuQiuHandler = Handler(
    handlerFunc:(BuildContext context, Map<String, List<String>> params){
      return YBMiaoShuInfoPage();
    }
);

//您的预算
var homePageShangWuFaLvXingZhengPageNinDeYuSuanHandler = Handler(
    handlerFunc:(BuildContext context, Map<String, List<String>> params){
      return YBMapNinDeYuSuanPage();
    }
);



//您的行业
var homePageShangWuFaLvXingZhengPageNinDeHangYeHandler = Handler(
    handlerFunc:(BuildContext context, Map<String, List<String>> params){
      return YBMapMiShuNinDeHangYePage();
    }
);


var homePageShangWuFaLvXingZhengPageLianXiRenHandler = Handler(
    handlerFunc:(BuildContext context, Map<String, List<String>> params){
      return YBMapMiShuLianXiRenPage();
    }
);


var wenshuTypeListDetailPageHandler = Handler(
    handlerFunc:(BuildContext context, Map<String, List<String>> params){
      return YBWenShuTypeListPage();
    }
);



//商机库-蚁集网
var workTaiMiShuShangJiKuYiJiHandler = Handler(
    handlerFunc:(BuildContext context, Map<String, List<String>> params){
      return YBProtolWenJianPage();
    }
);

//商机库-律司
var workTaiMiShuShangJiKuLvSiHandler = Handler(
    handlerFunc:(BuildContext context, Map<String, List<String>> params){
      return YBProtolTodayLvSiWenJianPage();
    }
);

//转载文章页
var workTaiZhuanZaiWeChatWenZhangHandler = Handler(
    handlerFunc:(BuildContext context, Map<String, List<String>> params){
      return YBWenZhangWeChatPage();
    }
);

//转载文章显示页
var workTaiZhuanZaiWeChatDisPlayHandler = Handler(
    handlerFunc:(BuildContext context, Map<String, List<String>> params){
      String wechatUrl = params['wechatUrl'].first;
      return YBWenZhangZhengShiWeChatPage(wechatUrl:wechatUrl,);
    }
);

//转载文章封面页
var workTaiZhuanZaiWeChatFengMainYeHandler = Handler(
    handlerFunc:(BuildContext context, Map<String, List<String>> params){
      String wechatUrl = params['wechatUrl'].first;
      return YBWenZhangZhengshiFengMianWeChatPage(weChatUrlStr:wechatUrl);
    }
);

//原创文章页封面页
var workTaiYuanchuangYeFengMainYeHandler = Handler(
    handlerFunc:(BuildContext context, Map<String, List<String>> params){
      String titleStr = params['title'].first;
      String contentStr = params['content'].first;
      return YBWenZhangZhengshiFengMianWeChatPage(title: titleStr,contentStr: contentStr,);
    }
);



var workTaiHandler = Handler(
  handlerFunc:(BuildContext context, Map<String, List<String>> params){
    return YBWorkTaiMainPage();
  }
);

 var  workTaiGonggaoHandler = Handler(
   handlerFunc:(BuildContext context, Map<String, List<String>>params){
     String typeStr = params['type'].first;
     if (int.parse(typeStr) == 1) {
       return YBWorkTaiGongGaoMainPage(gongGaoMainType: YBWorkTaiGongGaoMainType.YBGonggao,);
     } else if (int.parse(typeStr) == 2) {
       return YBWorkTaiGongGaoMainPage(gongGaoMainType: YBWorkTaiGongGaoMainType.YBKuaiXun,);
     } else if (int.parse(typeStr) == 3){
       return YBWorkTaiGongGaoMainPage(gongGaoMainType: YBWorkTaiGongGaoMainType.YBReMen,);
     }else{
       return YBWorkTaiGongGaoMainPage(gongGaoMainType: YBWorkTaiGongGaoMainType.YBReMen,);;
     }
   }
 );


  var  workTaiGonggaoListDetailHandler = Handler(
      handlerFunc:(BuildContext context, Map<String, List<String>>params){
        String ids = params['ids'].first;
        return YBWorkTaiGongGaoListDetailPage(id: int.parse(ids),);
      }
  );

  var  workTaiYuanChuangWenZhangYeHandler = Handler(
      handlerFunc:(BuildContext context, Map<String, List<String>>params){
        return YBWenZhangYuanChuangPage();
      }
  );

var  workTaiReMenWenZhangHandler = Handler(
      handlerFunc:(BuildContext context, Map<String, List<String>>params){
        return YBFenXiangHuKeReMenWenZhangPage();
      }
  );

  var  workTaiZuZhiWenZhangHandler = Handler(
      handlerFunc:(BuildContext context, Map<String, List<String>>params){
        return YBFenXiangZuZhiWenZhangPage();
      }
  );

  var  workTaiWoDeWenZhangHandler = Handler(
      handlerFunc:(BuildContext context, Map<String, List<String>>params){
        return YBFenXiangWoDeWenZhangPage();
      }
  );

var  workTaiMyInfoDetailHandler = Handler(
    handlerFunc:(BuildContext context, Map<String, List<String>>params){
      String ids = params['id'].first;
      String title = params["title"].first;
      String descirtionStr = params["descirtion"].first;
      return YBFengXiangDetailPage(id: int.parse(ids),title: title,description: descirtionStr,);
    }
);

var workTaiMiShuTongYiHuoShangJiHandler = Handler(
    handlerFunc:(BuildContext context, Map<String, List<String>> params){
      return YBMiShuTongYiHuoShangJiPage();
    }
);

var workTaiMiShuTongGongYongDetailHandler = Handler(
    handlerFunc:(BuildContext context, Map<String, List<String>> params){
      String requestCode = params['requestcode'].first;
      String sysCode = params['syscode'].first;
      String type = params['type'].first;
      if (int.parse(type) == 1) {
        return YBMiShuTongDetailMainPage(requestCode: requestCode,sysCode: sysCode,type: YBMiShuTongDetailType.YBMiShuTongDetailType_shangjiku,);
      }else if (int.parse(type) == 2) {
        return YBMiShuTongDetailMainPage(requestCode: requestCode,sysCode: sysCode,type: YBMiShuTongDetailType.YBMiShuTongDetailType_yiHuoshangji,);
      }else{
        return YBMiShuTongDetailMainPage();
      }
    }
);


//蚁集&&律司--优选详情页
var workTaiMiShuYouXuanDetailHandler = Handler(
    handlerFunc:(BuildContext context, Map<String, List<String>> params){
      String requestCode = params['requestcode'].first;
      String sysCode = params['syscode'].first;
      return YBMiShuListDetailYouXuanShangJiPage(requestCode: requestCode,sysCode: sysCode,);
    }
);


//蚁集&&律司--已获 问题页
var workTaiMiShuDetailQuestionFeedFeekHandler = Handler(
    handlerFunc:(BuildContext context, Map<String, List<String>> params){
      String sysCode = params['syscode'].first;
      String requestCode = params['requestCode'].first;
      return YBQuestionFeakBackPage(sysCode: sysCode,requestCodeStr: requestCode,);
    }
);



//发现--圈层
var  findQuanCengDetailHandler = Handler(
    handlerFunc:(BuildContext context, Map<String, List<String>>params){
      String id = params['ids'].first;
      return YBNewFindMainDetailPage(id: int.parse(id),);
    }
);

var  findQuanCengPublishHandler = Handler(
    handlerFunc:(BuildContext context, Map<String, List<String>>params){
      String infoStr = params['urlInfo'].first;
      return YBPublishQuanCengInfoPage(urlStr: infoStr,);
    }
);


var  findQuanCengAddressHandler = Handler(
    handlerFunc:(BuildContext context, Map<String, List<String>>params){
      return YBSearchAdddressPage();
    }
);

//发现-header
var  findQuanCengDetailWebViewHandler = Handler(
    handlerFunc:(BuildContext context, Map<String, List<String>>params){
      String webUrl = params['webUrl'].first;
      return YBNewFindWebView(webStr: webUrl,);
    }
);

  //工作台- 专用APP-秘书
  var  workTaiGeneralJieShaoPageHandler = Handler(
      handlerFunc:(BuildContext context, Map<String, List<String>>params){
        String typeStr = params['type'].first;
        print("----$typeStr");
        if (int.parse(typeStr) == 1) {
          return YBGeneralMiShuJieShaoPage(type:mishuType.mishuTYpe_yijitong,);
        }else if (int.parse(typeStr) == 2) {
          return YBGeneralMiShuJieShaoPage(type:mishuType.mishuTYpe_lvsitong,);
        } else if (int.parse(typeStr) == 3) {
          return YBGeneralMiShuJieShaoPage(type:mishuType.mishuTYpe_mishutong,);
        }else{
          return YBGeneralMiShuJieShaoPage(type:mishuType.mishuTYpe_yijitong,);
        }
      }
  );

  var  workTaiYiJiTongPageHandler = Handler(
      handlerFunc:(BuildContext context, Map<String, List<String>>params){
        return YBYiJiTongPage();
      }
  );

  var  workTaiLvSiTongPageHandler = Handler(
      handlerFunc:(BuildContext context, Map<String, List<String>>params){
        return YBLvSiTongPage();
      }
  );

var  workTaiMiShuTongPageHandler = Handler(
    handlerFunc:(BuildContext context, Map<String, List<String>>params){
      return YBMiShuTongPage();
    }
);

var  workTaiMiShuTongPageShangJiKuHandler = Handler(
    handlerFunc:(BuildContext context, Map<String, List<String>>params){
      return YBMiShuTongShangJiKuPage();
    }
);

  var  workTaiYouXuanShangJiDetailPageHandler = Handler(
     handlerFunc:(BuildContext context, Map<String, List<String>>params){
        String sysCode = params['syscode'].first;
        String requestCode = params['requestcode'].first;
        String feedStatus = params['feedStatus'].first;
        return YBMiShuYouXuanDetailPage(sysCode: sysCode,requestCode: requestCode,feedstatus:feedStatus,);
      }
  );

var  workTaiYouXiaoDetailPageHandler = Handler(
    handlerFunc:(BuildContext context, Map<String, List<String>>params){
      String sysCode = params['syscode'].first;
      String requestCode = params['requestcode'].first;
      return YBYiJiLvSiYiHuoDetailPage(sysCode: sysCode,requestCode: requestCode,);
    }
);

var  workTaiYiYiDetailPageHandler = Handler(
    handlerFunc:(BuildContext context, Map<String, List<String>>params){
      String sysCode = params['syscode'].first;
      String requestCode = params['requestcode'].first;
      return YBYiYiDetailPage(sysCode: sysCode,requestCode: requestCode,);
    }
);


  var  workTaiMiShuPageHandler = Handler(
      handlerFunc:(BuildContext context, Map<String, List<String>>params){
        return YBMiShuTongPage();
      }
  );


  var  workTaiMiShuShangJiKuHandler = Handler(
      handlerFunc:(BuildContext context, Map<String, List<String>>params){
        String typeStr = params['type'].first;
        if (int.parse(typeStr) == 1) {
          return YBMiShuListPage(type: mishuGongGongType.mishuGongGongTYpe_yijitong,);
        }else if (int.parse(typeStr) == 2) {
          return YBMiShuListPage(type: mishuGongGongType.mishuGongGongTYpe_lvsitong,);
        }else{
          return YBMiShuListPage(type: mishuGongGongType.mishuGongGongTYpe_lvsitong,);
        }

      }
  );

var  workTaiMiShuShangJiManagerHandler = Handler(
    handlerFunc:(BuildContext context, Map<String, List<String>>params){
      String typeStr = params['type'].first;
      if (int.parse(typeStr) == 1) {
        return YBYiLvSiListYiHuoManagerPage(type: mishuShangjiManagerTType.mishushangjiManagerTYpe_yijitong,);
      }else if (int.parse(typeStr) == 2) {
        return YBYiLvSiListYiHuoManagerPage(type: mishuShangjiManagerTType.mishushangjiManagerTYpe_yijitong,);
      }else{
        return YBYiLvSiListYiHuoManagerPage(type: mishuShangjiManagerTType.mishushangjiManagerTYpe_yijitong,);
      }

    }
);


var  workTaiShangjiKuListDetailHandler = Handler(
    handlerFunc:(BuildContext context, Map<String, List<String>>params){
      String syscode = params['syscode'].first;
      String requestcode = params['requestcode'].first;
      return YBMiShuListDetailPage(sysCode: syscode,requestCode: requestcode,);
    }
);





 //登录
 var loginInHandler = Handler(
   handlerFunc: (BuildContext context, Map<String, List<String>>params){
     return YBLoginMainPage();
   }
 );

var loginPasswordHandler = Handler(
    handlerFunc: (BuildContext context, Map<String, List<String>>params){
      print('---$params');
      return YBLoginPassWordPage();
    }
);

var loginBangDingHandler = Handler(
    handlerFunc: (BuildContext context, Map<String, List<String>>params){
      return YBLoginBangDingPhonePage();
    }
);

var loginYanZhengMaHandler = Handler(
    handlerFunc: (BuildContext context, Map<String, List<String>>params){
     String msgTokenStr = params['msgToken'].first;
     String phoneNStr = params['phoneN'].first;
     String typeStr = params['type'].first;
      print('---$msgTokenStr ----$phoneNStr');

      return YBLoginYanZhengMaPage(msgToken: msgTokenStr,phoneN: phoneNStr,type: typeStr,);
    }
);





//我的
var mineMyUserInfoHandler = Handler(
    handlerFunc: (BuildContext context, Map<String, List<String>>params){
      return YBMineUserInfoMainPage();
    }
);

//个人编辑信息
var mineMyUserInfoEditingHandler = Handler(
    handlerFunc: (BuildContext context, Map<String, List<String>>params){
      String titleHeader = params['titleHeader'].first;
      String contentTitle = params['contentTitle'].first;
      return YBMineUserInputMainPage(titleHeader: titleHeader,contentStr: contentTitle,);
    }
);

//个人信息-组织管理
var mineMyUserInfoZuZhiGuanliInfoHandler = Handler(
    handlerFunc: (BuildContext context, Map<String, List<String>>params){
      return YBMineUserInfoZuZhiManagerInfoPage();
    }
);

//我的工单
var mineMyGongDanHandler = Handler(
    handlerFunc: (BuildContext context, Map<String, List<String>>params){
      String typeStr = params["type"].first;
      if (int.parse(typeStr) == 1) {
        return YBMyGongDanPage(type: YBMyGongDanType.YBMYGongDanType_MygongdanList,);
      } else if (int.parse(typeStr) == 2) {
        return YBMyGongDanPage(type: YBMyGongDanType.YBMYGongDanType_DaiJieDanInfo,);
      } else if (int.parse(typeStr) == 3) {
        return YBMyGongDanPage(type: YBMyGongDanType.YBMYGongDanType_YiJieDanInfo,);
      } else{
        return YBMyGongDanPage(type:YBMyGongDanType.YBMYGongDanType_DaiJieDanInfo,);
      }
    }
);

//待接单
var mineDaiJieDanHandler = Handler(
    handlerFunc: (BuildContext context, Map<String, List<String>>params){
      return YBMyGongDanPage();
    }
);

//已接单
var mineYiJieDanHandler = Handler(
    handlerFunc: (BuildContext context, Map<String, List<String>>params){
      return YBMyGongDanPage();
    }
);

//商机详情
var mineShangJiXiangqingHandler = Handler(
    handlerFunc: (BuildContext context, Map<String, List<String>>params){
      String syscode = params['syscode'].first;
      String requestcode = params['requestcode'].first;
      print('------$syscode------$requestcode');
      return YBShangJiDetailPgae(sysCode: syscode,requestCode: requestcode,);
    }
);

//组织管理
var mineZuZhiGuanLiHandler = Handler(
    handlerFunc: (BuildContext context, Map<String, List<String>>params){
      return YBZhuZhiManagerPage();
    }
);

//激活公会卡
var minejiHuoGongHuiKaManagerHandler = Handler(
    handlerFunc: (BuildContext context, Map<String, List<String>>params){
      return YBMineJiHuoPage();
    }
);




//企业与个人
var mineQiYePersonHandler = Handler(
    handlerFunc: (BuildContext context, Map<String, List<String>>params){
      return YBQiYePersonPage();
    }
);

//企业认证
var mineQiYeMainHandler = Handler(
    handlerFunc: (BuildContext context, Map<String, List<String>>params){
      return YBQiYeAuthMainpage();
    }
);

//个人认证
var minePersonMainHandler = Handler(
    handlerFunc: (BuildContext context, Map<String, List<String>>params){
      return YBPersonMainPage();
    }
);

//成员管理
var mineNumberMannagerHandler = Handler(
    handlerFunc: (BuildContext context, Map<String, List<String>>params){
      String orgcode = params['orgcode'].first;
      return YBNumberManangerMainPage(orgcode: orgcode,);
    }
);

//成员管理编辑
var mineNumberEditManagerHandler = Handler(
    handlerFunc: (BuildContext context, Map<String, List<String>>params){
      String xingMingStr = params['xingMingStr'].first;
      String telPhoneStr = params['telPhoneStr'].first;
      String wechatStr = params['wechatStr'].first;
      String emailStr = params['emailStr'].first;
      String departStr = params['departStr'].first;
      String zhiweiStr = params['zhiweiStr'].first;
      String memberCode = params['memberCode'].first;
      String memberType = params['memberType'].first;
      return YBNumberManagerEditingPage(
        xingMingStr: xingMingStr,
        telPhoneStr: telPhoneStr,
        wechatStr: wechatStr,
        emailStr: emailStr,
        departStr: departStr,
        zhiweiStr: zhiweiStr,
        memberCode:memberCode,
        memberType: memberType,
      );
    }
);

//成员属性管理编辑
var mineNumberEditShuXingManagerHandler = Handler(
    handlerFunc: (BuildContext context, Map<String, List<String>>params){
      String titleHeader = params['titleHeader'].first;
      String contentTitle = params['contentTitle'].first;
      String memberCode = params['memberCode'].first;
      return YBNumberInPutEditingPage(titleHeader: titleHeader,contentTitle:contentTitle,memberCode: memberCode,);
    }
);

//圈层主页
var mineQuanCengHomeHandler = Handler(
    handlerFunc: (BuildContext context, Map<String, List<String>>params){
      return YBQuanCengHomePage();
    }
);

//圈层编辑页
var mineQuanCengHomeEditingHandler = Handler(
    handlerFunc: (BuildContext context, Map<String, List<String>>params){
      String titleHeader = params['titleHeader'].first;
      String contentTitle = params['contentTitle'].first;
      return YBQuanCengHomeInputPage(titleHeader:titleHeader,contentStr: contentTitle,);
    }
);

//圈层编辑页
var mineQiYePersonEditingHandler = Handler(
    handlerFunc: (BuildContext context, Map<String, List<String>>params){
      String titleHeader = params['titleHeader'].first;
      String contentTitle = params['contentTitle'].first;
      return YBQiYeAndPersonInputPage(titleHeader:titleHeader,contentStr: contentTitle,);
    }
);


//实名认证--企业显示
var mineQiYeDisPlayMainHandler = Handler(
    handlerFunc: (BuildContext context, Map<String, List<String>>params){
      return YBQiYeDisPlayInfoPage();
    }
);

//实名认证--个人显示
var minePersonDisPlayMainHandler = Handler(
    handlerFunc: (BuildContext context, Map<String, List<String>>params){
      return YBPersonDisPlayPage();
    }
);

//原始公会
var mineYuanShiGongHuiHandler = Handler(
    handlerFunc: (BuildContext context, Map<String, List<String>>params){
      return YBMineGongHuiPage();
    }
);


//设置
var mineSettingPageHandler = Handler(
    handlerFunc: (BuildContext context, Map<String, List<String>>params){
      return YBSetMainPage();
    }
);


//账号与绑定
var mineSettingAccountingAndbindingPageHandler = Handler(
    handlerFunc: (BuildContext context, Map<String, List<String>>params){
     // String phoneNStr = params['phoneN'].first;
      return YBAccountAndBandingPage();
    }
);



//圈层屏蔽管理
var mineSettingMyPingBiManagerHandler = Handler(
    handlerFunc: (BuildContext context, Map<String, List<String>>params){
      // String phoneNStr = params['phoneN'].first;
      return YBPinBiManagerPage();
    }
);



//修改密码
var mineSettingXiuGaiMiMaManagerHandler = Handler(
    handlerFunc: (BuildContext context, Map<String, List<String>>params){
      String phoneNStr = params['phoneN'].first;
      return YBNewChangePassWord(phone: phoneNStr,);
    }
);


//新密码
var mineSettingNewPasswordManagerHandler = Handler(
    handlerFunc: (BuildContext context, Map<String, List<String>>params){
      return YBNewPassWordPage();
    }
);



//验证手机号
var mineSettingXiuGaiPhoneYanZhengMaHandler = Handler(
    handlerFunc: (BuildContext context, Map<String, List<String>>params){
      String phoneNStr = params['phoneN'].first;
      return YBSettingYanZhengPhonePage(phone: phoneNStr,);
    }
);


//新手机号
var mineSettingNewPhoneManagerHandler = Handler(
    handlerFunc: (BuildContext context, Map<String, List<String>>params){
      String phoneNStr = params['phoneN'].first;
      return YBSettingNewPhonePage(phone: phoneNStr,);
    }
);


//消息通知
var mineMessagePageHandler = Handler(
    handlerFunc: (BuildContext context, Map<String, List<String>>params){
      return YBMessageMainPage();
    }
);


//我的权益
var mineMyQuanYiHandler = Handler(
    handlerFunc: (BuildContext context, Map<String, List<String>>params){
      return YBMyQuanYiMainPage();
    }
);


//关于
var mineAboutUsHandler = Handler(
    handlerFunc: (BuildContext context, Map<String, List<String>>params){
      return YBAboutUsMianPage();
    }
);

//隐私政策
var mineYinSiZhengCeHandler = Handler(
    handlerFunc: (BuildContext context, Map<String, List<String>>params){
      return YBYinSiZhengCePage();
    }
);

//法律声明
var mineFaLvShengMingHandler = Handler(
    handlerFunc: (BuildContext context, Map<String, List<String>>params){
      return YBFaLvShengMingPage();
    }
);

//服务条款
var mineFuWuTiaoKuanHandler = Handler(
    handlerFunc: (BuildContext context, Map<String, List<String>>params){
      return YBFuWuZhengCePage();
    }
);


//webView h5
var baseUrlWebViewHandler = Handler(
    handlerFunc: (BuildContext context, Map<String, List<String>>params){
      String baseUrlStr = params['type'].first;
      print('---$baseUrlStr');

      return YBWebViewUtils(typeStr:baseUrlStr,);
    }
);